<template>
  <div>
    <a-button @click="licInfo"></a-button>
    <lic-info ref="licInfo" @updateLic="updateLic"></lic-info>
    <update-lic ref="updateLic" @afterUpdateLic="licInfo"></update-lic>
  </div>
</template>

<script>

  import LicInfo from './LicInfo'
  import UpdateLic from './UpdateLic'

  export default {
    name: 'LicTemp',
    components: {
      LicInfo,
      UpdateLic,
    },
    data () {
      return {}
    },
    methods: {
      licInfo () {
        this.$refs.licInfo.show()
      },
      updateLic () {
        this.$refs.updateLic.show()
      },
    }
  }
</script>